using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Text;
using System.Runtime.Remoting;

namespace Server
{
    public class Program
    {
        public static void Main(string[] arguments)
        {
            System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(1033);
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(1033);

            using (ServiceHost host2 = new ServiceHost(typeof(DSService)))
            {
                host2.Open();

                RemotingConfiguration.Configure(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile, false);

                Console.WriteLine("Service is available.");
                Console.ReadKey();
            }
        }
    }
}
